package com.CST.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p></p>
 *
 * @author: y
 * @create: 2021-10-29 10:47
 **/
@ApiModel(value ="")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BD_EnumDetail")
public class BdEnumdetailDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键自增")
    private Integer edId;

    @ApiModelProperty(value = "上级枚举")
    @ExcelProperty(value = "EDEDID")
    @TableField("EDEDID")
    private Integer edEdId;

    @ApiModelProperty(value = "枚举名称")
    @ExcelProperty(value = "edName")
    @TableField("edName")
    private String edName;

    @ApiModelProperty(value = "排序")
    @ExcelProperty(value = "edOrder")
    @TableField("edOrder")
    private Integer edOrder;

    @ApiModelProperty(value = "枚举值")
    @ExcelProperty(value = "edCode")
    @TableField("edCode")
    private String edCode;

    @ApiModelProperty(value = "枚举关键字")
    @ExcelProperty(value = "edParentCode")
    @TableField("edParentCode")
    private String edParentCode;

    @ApiModelProperty(value = "扩展字段1")
    @ExcelProperty(value = "edExtraFirstCode")
    @TableField("edExtraFirstCode")
    private String edExtraFirstCode;

    @ApiModelProperty(value = "扩展字段1描述")
    @ExcelProperty(value = "edExtraFirstDescription")
    @TableField("edExtraFirstDescription")
    private String edExtraFirstDescription;

    @ApiModelProperty(value = "扩展字段2")
    @ExcelProperty(value = "edExtraSecondCode")
    @TableField("edExtraSecondCode")
//    private String edExtraSecondCode;
    private List<String> edExtraSecondCode;

    @ApiModelProperty(value = "扩展字段2描述")
    @ExcelProperty(value = "edExtraSecondDescription")
    @TableField("edExtraSecondDescription")
    private String edExtraSecondDescription;

    @ApiModelProperty(value = "扩展字段3")
    @ExcelProperty(value = "edExtraThirdCode")
    @TableField("edExtraThirdCode")
    private String edExtraThirdCode;

    @ApiModelProperty(value = "扩展字段3描述")
    @ExcelProperty(value = "edExtraThirdDescription")
    @TableField("edExtraThirdDescription")
    private String edExtraThirdDescription;

    @ApiModelProperty(value = "创建人")
    @ExcelProperty(value = "CreatedBy")
    @TableField("CreatedBy")
    private String createdBy;

    @ApiModelProperty(value = "修改人")
    @ExcelProperty(value = "UpdatedBy")
    @TableField("UpdatedBy")
    private String updatedBy;

}
